import Home from '../components/routerView/home.vue'
import Content from '../components/routerView/content.vue'
import adminRouter from './router/permission.js'
import tradeRouter from './router/trade.js'

export default [{
        path: '/',
        redirect: '/login',
        hidden: true
    },
    {
        path: '/login',
        name: 'login',
        hidden: true,
        component: require('../components/login/login.vue')
    },
    {
        path: '/404',
        component: Home,
        hidden: true,
        children: [{
            path: '',
            component: require('../components/routerView/notfound.vue')
        }]
    }
].concat(adminRouter)
    .concat(tradeRouter)